package org.example.bridge;

/**
 * @author wangbin
 * @date 2024/4/18
 * @vesion 1.0
 */
public abstract class Phone {

    private  Brand brand;

    public Phone(Brand brand) {
        this.brand = brand;
    }
    protected void open(){
        this.brand.open();
    }
    protected void close() {
        this.brand.close();
    }
    protected void cell(){
        this.brand.cell();
    }

}
